'use strict';

const Controller = require('egg').Controller;

class HelpController extends Controller {
  
  async getHelpList() {
    const { ctx } = this;
    const [ option ] = ctx.getPageListOption();
    option.sort = '-create_at';
    
    ctx.apiPageList([], 0);
  }

  async getHelpDetail() {
    const { ctx } = this;
   
    ctx.body = {
      success: true,
      helpDetail: { },
    };
  }
}

module.exports = HelpController;
